<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Praca magisterska: Dokumentacja struktury Timer</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo_eti_small.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Praca magisterska
   
   </div>
   <div id="projectbrief">Implementacja algorytmów filtracji adaptacyjnej o strukturze transwersalnej na platformie CUDA</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Wygenerowano przez Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Szukaj');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Strona&#160;główna</span></a></li>
      <li class="current"><a href="annotated.html"><span>Klasy</span></a></li>
      <li><a href="files.html"><span>Pliki</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Szukaj" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Lista&#160;klas</span></a></li>
      <li><a href="classes.html"><span>Indeks&#160;klas</span></a></li>
      <li><a href="functions.html"><span>Składowe&#160;klas</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('struct_timer.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Metody publiczne</a> &#124;
<a href="#pub-attribs">Atrybuty publiczne</a>  </div>
  <div class="headertitle">
<div class="title">Dokumentacja struktury Timer</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Timer" -->
<p>Stoper z możliwością pomiaru czasu z dokładnością do 1 mikrosekundy.  
 <a href="struct_timer.html#details">Więcej...</a></p>

<p><code>#include &lt;<a class="el" href="timer_8h_source.html">timer.h</a>&gt;</code></p>

<p><a href="struct_timer-members.html">Lista wszystkich składowych.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Metody publiczne</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_timer.html#a5f16e8da27d2a5a5242dead46de05d97">Timer</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_timer.html#a14fa469c4c295c5fa6e66a4ad1092146">~Timer</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_timer.html#a3a8b5272198d029779dc9302a54305a8">start</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_timer.html#a63f0eb44b27402196590a03781515dba">stop</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_timer.html#aeec8f4f81e1b09c6e00ca6744f01af31">getElapsedTimeInMicroSec</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_timer.html#a4f6a151ee9ea8b691bcb677e8ae3f903">getElapsedTimeInMiliSec</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_timer.html#ac05212f488db392f857660e28a402927">getElapsedTimeInSec</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Atrybuty publiczne</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a18df3817fff6de39d57734bfce0f74b0"></a><!-- doxytag: member="Timer::startTime" ref="a18df3817fff6de39d57734bfce0f74b0" args="" -->
timeval&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_timer.html#a18df3817fff6de39d57734bfce0f74b0">startTime</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">start pomiaru <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af9407bbc30ffa07b84db398b7b38a9c9"></a><!-- doxytag: member="Timer::stopTime" ref="af9407bbc30ffa07b84db398b7b38a9c9" args="" -->
timeval&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_timer.html#af9407bbc30ffa07b84db398b7b38a9c9">stopTime</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">koniec pomiaru <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab26cb8d29a882af7df3924a666fcd00e"></a><!-- doxytag: member="Timer::stopped" ref="ab26cb8d29a882af7df3924a666fcd00e" args="" -->
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_timer.html#ab26cb8d29a882af7df3924a666fcd00e">stopped</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">flaga stopu <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a751780309fb9c17b435a8b87183b91f5"></a><!-- doxytag: member="Timer::startTimeInMicroSec" ref="a751780309fb9c17b435a8b87183b91f5" args="" -->
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_timer.html#a751780309fb9c17b435a8b87183b91f5">startTimeInMicroSec</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">start pomiaru w mikrosekundach <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aec5f56ad4e309448692f680d339c2d0e"></a><!-- doxytag: member="Timer::stopTimeInMicroSec" ref="aec5f56ad4e309448692f680d339c2d0e" args="" -->
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_timer.html#aec5f56ad4e309448692f680d339c2d0e">stopTimeInMicroSec</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">koniec pomiaru w mikrosekundach <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Opis szczegółowy</h2>
<div class="textblock"><p>Stoper z możliwością pomiaru czasu z dokładnością do 1 mikrosekundy. </p>
<p>Pozwala na pomiar czasu wykonania kodu z dokładnością do mikrosekundy.<br/>
 Wykorzystuje funkcje Windows API: <br/>
</p>
<ul>
<li>QueryPerformanceCounter() - określenie aktualnej liczby 'ticków' procesora<br/>
</li>
<li>QueryPerformanceFrequency() - określenie liczby 'ticków' na sekundę </li>
</ul>
</div><hr/><h2>Dokumentacja konstruktora i destruktora</h2>
<a class="anchor" id="a5f16e8da27d2a5a5242dead46de05d97"></a><!-- doxytag: member="Timer::Timer" ref="a5f16e8da27d2a5a5242dead46de05d97" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Timer::Timer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Konstruktor struktury <a class="el" href="struct_timer.html" title="Stoper z możliwością pomiaru czasu z dokładnością do 1 mikrosekundy.">Timer</a> </p>

</div>
</div>
<a class="anchor" id="a14fa469c4c295c5fa6e66a4ad1092146"></a><!-- doxytag: member="Timer::~Timer" ref="a14fa469c4c295c5fa6e66a4ad1092146" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Timer::~Timer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destruktor struktury <a class="el" href="struct_timer.html" title="Stoper z możliwością pomiaru czasu z dokładnością do 1 mikrosekundy.">Timer</a> </p>

</div>
</div>
<hr/><h2>Dokumentacja funkcji składowych</h2>
<a class="anchor" id="aeec8f4f81e1b09c6e00ca6744f01af31"></a><!-- doxytag: member="Timer::getElapsedTimeInMicroSec" ref="aeec8f4f81e1b09c6e00ca6744f01af31" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Timer::getElapsedTimeInMicroSec </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Metoda zwracająca zmierzony czas w mikrosekundach</p>
<dl class="return"><dt><b>Zwraca:</b></dt><dd>czas w mikrosekundach </dd></dl>

</div>
</div>
<a class="anchor" id="a4f6a151ee9ea8b691bcb677e8ae3f903"></a><!-- doxytag: member="Timer::getElapsedTimeInMiliSec" ref="a4f6a151ee9ea8b691bcb677e8ae3f903" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Timer::getElapsedTimeInMiliSec </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Metoda zwracająca zmierzony czas w milisekundach</p>
<dl class="return"><dt><b>Zwraca:</b></dt><dd>czas w milisekundach </dd></dl>

</div>
</div>
<a class="anchor" id="ac05212f488db392f857660e28a402927"></a><!-- doxytag: member="Timer::getElapsedTimeInSec" ref="ac05212f488db392f857660e28a402927" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Timer::getElapsedTimeInSec </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Metoda zwracająca zmierzony czas w sekundach</p>
<dl class="return"><dt><b>Zwraca:</b></dt><dd>czas w sekundach </dd></dl>

</div>
</div>
<a class="anchor" id="a3a8b5272198d029779dc9302a54305a8"></a><!-- doxytag: member="Timer::start" ref="a3a8b5272198d029779dc9302a54305a8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Timer::start </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Metoda rozpoczynająca pomiar</p>
<dl class="return"><dt><b>Zwraca:</b></dt><dd>void </dd></dl>

</div>
</div>
<a class="anchor" id="a63f0eb44b27402196590a03781515dba"></a><!-- doxytag: member="Timer::stop" ref="a63f0eb44b27402196590a03781515dba" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Timer::stop </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Metoda zatrzymująca pomiar</p>
<dl class="return"><dt><b>Zwraca:</b></dt><dd>void </dd></dl>

</div>
</div>
<hr/>Dokumentacja dla tej struktury została wygenerowana z plików:<ul>
<li>C:/Users/boski/Documents/Visual Studio 2008/Projects/cuda/blms/<a class="el" href="timer_8h_source.html">timer.h</a></li>
<li>C:/Users/boski/Documents/Visual Studio 2008/Projects/cuda/blms/<a class="el" href="timer_8cu.html">timer.cu</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="struct_timer.html">Timer</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Klasy</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Pliki</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funkcje</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Zmienne</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Definicje</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Wygenerowano Wed Nov 23 2011 12:30:13 dla Praca magisterska programem
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
